package com.powerunion.datacollection.domain.workflowState;

public abstract class WorkFlowState {

	//环境角色，封装状态的变换引起的功能变化
	protected StateContext context;

	public void setContext(StateContext context) {
		this.context = context;
	} 
	
	public abstract void open();
	
	public abstract void close();
	
	public abstract void run();
	
	public abstract void stop();
	
}
